package com.example.demo.pojo.request;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;

/**
 * @author 叮当猫的百宝箱
 * @since 1.0
 */
@Schema(description = "管理员用户登陆DTO")
@Data
public class LoginAdminUserRequest implements Serializable {

    private static final long serialVersionUID = -879779090808048814L;

    @Schema(description = "管理员用户名")
    @NotNull(message = "用户名不能为空")
    private String username;

    @Schema(description = "登陆密码")
    @NotNull(message = "密码不能为空")
    private String password;

}
